﻿CREATE PROCEDURE [dbo].[ErrorDataLogInsert]
(
	@InstanceName				NVARCHAR(255) = NULL, 
	@DatabaseName				NVARCHAR(255) = NULL,
	@TableName					NVARCHAR(255) = NULL,
	@MessageText				NVARCHAR(MAX)
)
AS
BEGIN
INSERT INTO [dbo].[ErrorDataLog] (
					InstanceName, 
					MessageText,
					LastModifiedDate
) 
VALUES  
( 
					@InstanceName, 
					@MessageText, 
					GETDATE()
);
RETURN 0
END